function getOs(){
    //var OsObject = "";
   if(navigator.userAgent.indexOf("MSIE")>0) {
        return "MSIE";
   }
   if(isFirefox=navigator.userAgent.indexOf("Firefox")>0){
        return "Firefox";
   }
   if(isSafari=navigator.userAgent.indexOf("Safari")>0) {
        return "Safari";
   } 
   if(isCamino=navigator.userAgent.indexOf("Camino")>0){
        return "Camino";
   }
   if(isMozilla=navigator.userAgent.indexOf("Gecko/")>0){
        return "Gecko";
   }
}

var utility ={
	version:"1.0.0",
  trim: function (data) {
    if (typeof ($) != 'undefined') return $.trim(data);
    return data.replace(/(^\s+|\s+$)/g, "");
  }	,
  init: function(_box){
    if(getOs() == "MSIE"){
      utility.checkFtpLibrary();
    }
  },
  checkFtpLibrary:function(){
    try{
       var  FtpLibrary=document.getElementById("upLoad_FtpLibrary");
       if(!FtpLibrary.Version){
          install();
        }
       //if(FtpLibrary.Version && FtpLibrary.State){
        //FtpLibrary.Info="e$(m$(j+0u*.m&*j(,&lt;&nbsp;<br>      ";
        //FtpLibrary.SInfo="";
      //}
    }catch(e){
        alert("fnCheckFtpLibrary\n"+e.description);
    }
  }
}